package com.example.product.mapper;

import com.example.product.model.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<Product> findAll();
    
    Product findById(Long id);
    
    void save(Product product);
    
    void update(Product product);
    
    void deleteById(Long id);
} 